
 
 E v e n t :   " t o u c h C h a n g e " 
 
 
 
 D e s c r i p t i o n :   S e t s   a   h a n d l e r   t o   e x i c u t e   w h e n   u s e r   i n t e r a c t i o n   s w i t c h e s   f r o m   k e y b o a r d   t o   t o u c h   a n d   f r o m   t o u c h   t o   k e y b o a r d . 
 
 
 
 R e t u r n s :   d o m E l e m e n t ,   o r   $ A   o b j e c t   i f   c h a i n e d . 
 
 
 
 N o t e :   S i n c e   t h i s   e v e n t   i s   a l w a y s   o n   t h e   w i n d o w   o b j e c t ,   t h e r e   i s   n o   s p e c i f i c   t a r g e t   e l e m e n t   n e e d e d   w h e n   s e t t i n g   t h i s   e v e n t   h a n d l e r .   W h e n   t h i s   e v e n t   f i r e s ,   $ A . i s T o u c h   w i l l   r e f l e c t   t h e   n e w   v a l u e   t r u e   o r   f a l s e   d e p e n d i n g   o n   t h e   t y p e   o f   u s e r   a c t i o n   t h a t   w a s   d e t e c t e d . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   B i n d   a   t o u c h   c h a n g e   h a n d l e r   t o   t h e   w i n d o w   o b j e c t . 
 
 
 
 $ A . o n ( " t o u c h C h a n g e " ,   f u n c t i o n ( e v e n t )   { 
 
     / /   D o   s o m e t h i n g   w h e n   t h e   p r o p e r t y   $ A . i s T o u c h   c h a n g e s   b e t w e e n   t r u e   o r   f a l s e . 
 
 } ) ; 
 
 